UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Photon operating system must remove all software components after updated versions have been installed.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239141 PHTN-67-000070 SV-239141r675231_rule Medium
Description
Previous versions of software components that are not removed from the information system after updates have been installed may be exploited by adversaries. Some information technology products may remove older versions of software automatically from the information system.
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-01-03

Details

Check Text ( C-42352r675229_chk )
At the command line, execute the following command:

# grep -i "^clean_requirements_on_remove" /etc/tdnf/tdnf.conf

Expected result:

clean_requirements_on_remove=true

If the output does not match the expected result, this is a finding.
Fix Text (F-42311r675230_fix)
Open /etc/tdnf/tdnf.conf with a text editor.

Remove any existing "clean_requirements_on_remove" line and ensure the following line is present:

clean_requirements_on_remove=true